
<table border="1px">
		<thead>
		<tr>
		<th>User Name</th>
		<th>Permissions</th>
		<th>Edit</th>
		<th>Delete</th>
		</tr>
		</thead>
<?php foreach ($users as $array => $object): ?>
<tr>
<td><?php echo "$object->username"; ?></td>
<td><?php echo "$object->permissions_1"; ?></td>
<td>
		<a href="<?php echo site_url('users'); ?>/update/<?php echo "$object->user_id"; ?>"<?php echo img('images/eye.jpg');?></a>
</td>
<td>
		<a href="<?php echo site_url('users'); ?>/delete/<?php echo "$object->user_id"; ?>"<?php echo img('images/pencil.png');?></a>
</td>
</tr>
<?php endforeach; ?>
</table>